#pragma once
#include <Windows.h>

class WindowForm
{
private:
	WNDCLASSEX * m_pWC;
	LPCSTR m_sName;
	int m_nWidth, m_nHeight;
	bool m_bFullScreen;
	
	HWND hWnd;

	float elapsedTime;
	ULONG previousTime;
public:
	WindowForm(LPCSTR sName, int nWidth, int nHeight, bool bFullScreen);
	~WindowForm(void);

	void MainLoop();
	static LRESULT WINAPI MsgProc(HWND hWnd, UINT msg, WPARAM wparam, LPARAM lparam);
};